package test.test1.mybatis.dao;

import java.util.List;

import test.test1.mybatis.pojo.Player;

public interface PlayerMapper {
	List<Player> getAllPlayers();
	List<Player> getPlayersByIds(List<Integer> list);
	Player getPlayerById(Integer uid);
	Player getPlayerByUsername(String username);
	
	int insertPlayer(Player player);
	int updatePlayer(Player player);
	int updatePlayerScore(Player player);
	int deletePlayerById(Integer id);
}
